﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SBT_Tools;

namespace MyDLL
{
    public class Program
    {
        static void Main(string[] args)
        {
            SBT sBT = new SBT("E:/.SBT");
            sBT.Add_Two_String(SBT.Name.Target, "1.jpg", "好耶!");
            sBT.Close();
        }

        static void Main1(string[] args)
        {
            MySqlite m = new MySqlite();
            //m.Open_DB(@"E:\r仁爱\z自我娱乐\file-tags-management-system\基础性项目\Dll开发\v0.0.0.1测试数据源.db");
            m.Open_DB(@"E:\r仁爱\z自我娱乐\file-tags-management-system\基础性项目\v0.0.0.1.db");
            int result = m.Add_Map_Tag_Tag("标签来自p站", "WebCAT天使と悪魔");
            Console.WriteLine(result);
            /*
            List<int> result = m.Add_Map_Tag_Tag("标签来自p站", "WebCAT天使と悪魔");
            if (result == null)
                Console.WriteLine("为空");
            else
            foreach (int i in result)
            {
                Console.WriteLine(i);
            }*/


            /*
            List<int> result = m.Get_All_Tag_ID("desc", 30, 0);
            Console.WriteLine("数量:" + result.Count);
            if (result.Count != 0)
            {
                foreach (int i in result)
                {
                    List<string> temp = m.Get_Tag_By_ID(i);
                    Console.WriteLine(temp[0].ToString()+" "+temp[1]+" "+temp[3]);
                }
            }
            */
            /*
            List<int> result = m.Get_TargetID_By_Tag_List(new List<string>() { "Amelie","女孩子" },new List<string>() { "极好的腹部" });
            foreach (int i in result)
                Console.WriteLine(i);
                */

            Console.WriteLine("程序执行完毕");
        }
    }
}
